﻿
function getQuerystring(param)
{
    
    var result = window.location.search.match(new RegExp("(\\?|&)" + param + "(\\[\\])?=([^&]*)"));

    return result ? unescape(result[3]) : false;
}